package com.hkyl.hospital.mapper;

import com.hkyl.hospital.entity.CaseHistory;
import com.hkyl.hospital.entity.CaseHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CaseHistoryMapper {
    int countByExample(CaseHistoryExample example);

    int deleteByExample(CaseHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CaseHistory record);

    int insertSelective(CaseHistory record);

    List<CaseHistory> selectByExample(CaseHistoryExample example);

    CaseHistory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CaseHistory record, @Param("example") CaseHistoryExample example);

    int updateByExample(@Param("record") CaseHistory record, @Param("example") CaseHistoryExample example);

    int updateByPrimaryKeySelective(CaseHistory record);

    int updateByPrimaryKey(CaseHistory record);
}